Methods and system for immediately connecting and reswitching digital cross-connect networks

ABSTRACT

A method and system to immediately connect and reswitch connection configurations through a rearrangeable communications matrix that immediately connects an input gate causing rearrangeably blocked condition through the communications matrix to an output gate through a dedicated or extra switching element of the center. With the rearrangeably blocked condition, the method and system select a set of switching elements pairs from the center stage switches to form a plurality of possible connections from the input gates to the output gates that excludes the dedicated switching element. The method and system then determines from the possible connections a minimum rearrangement connection configuration that excludes the dedicated switch and that requires the minimum number of rearrangements of existing communications matrix connections. Then, the invention reswitches the matrix according to the minimum rearrangement connection configuration while maintaining all signal flow from the input gates to the output gates while removing connections through the dedicated switching element. The preferred embodiment has particular application for digital cross-connect networks that include a time domain and a space domain for connection configurations where rearrangeably blocked condition may occur in either domain.

TECHNICAL FIELD OF THE INVENTION

The present invention is concerned generally with electronics and morespecifically with communications systems. Even more specifically, theinvention is concerned with a method and system that eliminates delaysin reswitching matrix configuration network devices when connectionsmust be rearranged to permit signals to flow through the devices.

BACKGROUND OF THE INVENTION

Digital cross-connect communications network devices, such as the 1631SX manufactured by Alcatel Network Systems, Inc., are designed to makeconnections between input gates on input switches and output gates onoutput switches. Known designs for such cross-connect devices make useof matrices to connect the input gates to the output gates. To limit thephysical space and manufacturing costs of the matrices, designers seekto minimize the number of cross-connects in the matrix. This objectivebecomes more complicated as market demands for communications servicesincrease. In particular, as network devices address larger markets, thedevices must service more and more input and output signals. Thesefactors exacerbate the space and cost limitation problems even more forcommunications matrix devices.

One matrix configuration that uses a minimal number of matrixcross-connects for a given number of input gates and output gates andthat provides a potentially optimal solution is known as a"rearrangeable" matrix. For the rearrangeable matrix, the number ofcenter stage switches must equal or exceed the number of input gates oneach input switch of the matrix. In a rearrangeable matrix, there existsa set of conditions such that, although the device does not use allinput gates and all output gates, an attempt to use an idle input gateand an output gate is prohibited because existing connections block thesignal flow through the matrix. This may happen, for example, ifexisting connections already occupy at least one link in every possiblepath between the input and output gates in question.

In a rearrangeable network, it is always possible to unblock a flow pathfrom an idle input gate to an idle output gate by moving existingconnections in the network. The term "rearrangeable," therefore,describes the property that for a given state of a network and any givenidle pair of input and output gates, the existing connections of thematrix may be reassigned to new paths, if necessary, to connect the idlepair.

Existing methods and systems for connecting inputs to outputs inrearrangeable matrices generally use a standard rearrangement techniquethat determines which cross-connects of the matrix to rearrange topermit a signal to flow. N.C. Paull in "Reswitching of ConnectionNetworks," The Bell System Technical Journal, May, 1962, pp. 833-856,describes this known method for unblocking a rearrangeable matrix. Thismethod (hereinafter referred to as Paull's Method) suffers from a majorlimitation. Paull's Method requires breaking some of the cross-connectsand making some other of the cross-connects to rearrange matrix. Thisprocedure takes time and results in undesirable service delays orinterruptions during matrix rearrangement.

It is an object of the present invention, therefore, to provide a methodand system that immediately connect idle input gates to idle outputgates and, if a rearrangeably blocked condition occurs, rearrange thematrix after the immediate connection. The present invention achievesthis object with a minimal amount of additional circuitry and avoids theservice delays and interruptions of known reswitching methods andsystems.

It is also an object of the present invention to provide a method andsystem that rearranges existing cross-connections through arearrangeable matrix by immediately connecting an input gate of an inputswitch through the matrix to an output gate of an output switch througha dedicated or extra switching element of a center matrix switch and, ifthe connection causes a rearrangeably blocked condition, detecting therearrangeably blocked condition, after which the invention executes amethod for performing a "hitless roll" of the signal from the extraswitching element to another switching element in the center switch byfirst selecting a set of switching element pairs from all of theswitching elements of the center switch to form a plurality of possibleconnection configurations from the input switch through the centerswitch (excluding the dedicated switching element) to the output switch,searching for the minimum path set requiring the minimum number ofrearrangements of pre-existing connections of the matrix configurationand then reswitching the matrix according to the minimum path set whilemaintaining all signal flow from all input gates of the input switchthrough the center switch and to all output gates of the output switchand removing signal flow through the dedicated switching element.

BRIEF DESCRIPTION OF THE DRAWINGS

Other objects and advantages are apparent and best understood byreference to the following description of illustrative embodiments whenread in conjunction with the accompanying drawings, wherein:

FIG. 1, shows five-stage connecting network (TSSST) with embeddedthree-stage space matrix (SSS);

FIG. 2 shows in more detail the three-stage connecting network that maybe embedded logically in the five-stage TSSST network of FIG. 1;

FIG. 3 is a three-stage connecting network generalized to the N(m,n,r)case;

FIG. 4 introduces notation for understanding the preferred embodiment;

FIG. 5 provides a flow chart of the method of the preferred embodiment;

FIGS. 6 through 14 illustrate an example of the sequence generatingportion of the preferred embodiments; and

FIGS. 15 through 34 illustrate a simplified space-domain example of thepreferred embodiment;

DETAILED DESCRIPTION OF THE INVENTION

In FIG. 1, a large matrix configuration is shown that provides forconnection and test access for up to 1,024 DS3 ports (or equivalently,32,678 DS1 ports) for the 1631 SX device. This is a five-stage,Time-Space-Space-Space-Time (TSSST)-division multiplexed connectingmatrix network 50. Matrix configuration 50 includes time stage 52 thatthrough connections 54 connects to three center space stage (SSS)designated generally by reference numeral 56. Three center space stageSSS 56 connects through output line 58 to output time stage 60. Withthis configuration, the network 50 includes a time-domain of time stages52 and 60 and a space domain of three center space stage 56. FIG. 1illustrates logically the relationship between time stages 52 and 60 andthe center space stages 56. Input time stage 52 uses 128 time slots perinput 62. The time slots may be represented by the connections 64between I/O shelf inputs 62 to each time slot 66 of matrix 56. Centerspace stage 56 includes 128 time slots 66, each of which time slot 66includes a N(17,16,16) matrix. The number 17 of time slot matrix 66represents the number of center stage switches; the first number 16represents the number of inputs to each input stage switch, and thesecond 16 the number of input stage switches. (By symmetry, there are 16outputs from each output stage switch and 16 output stage switches.)Output time stage 60 uses 128 time slot connections such as connection68 for each matrix output 70 to an I/0 shelf.

In FIG. 2, center space stage 56 is represented mathematically as athree-stage connecting network cube of matrices 72 for each of which thesymbol N(17,16,16) fully describes each of the matrices. Thus, for eachN(17,16,16) matrix 72 there are in the example of FIG. 2, 16 inputswitches such as input switch 74, for which each receives 16 input gatessuch as input gate 76. The total number of input gates 76 make up theI/O shelf-to-time slot connections 64 of FIG. 1 for each time slot. Fromeach input switch 74 go input switch-center switch connections 78 to thecenter switches such as center switch 80. In the preferred embodiment,each N(17,16,16) matrix 72 includes 17 center stage switches 80. Fromeach center stage switch 80 go 16 output switch connections 82 to outputswitches such as output switch 84. Each output switch 84 provides 16output gates such as output gate 86 that connect to I/O shelves such asI/O shelf 70 of FIG. 1. The total number of output gates 86 make up thetime slot-to-I/O shelf connections 68 of FIG. 1 for each time slot.

Connections are made between input gate 76 and output gate 86immediately using the present connection technique. This technique setsup a connection by using a route through input switch 74, centerswitches 80 and output switches 84 that attempts to use the most usedpart of a matrix 72 first and the least used part of the matrix 72 last.By using the heavily-loaded part of the matrix where possible in makinga given connection, when rearrangement of matrix 72 is necessary, therearrangement process of the preferred embodiment encounters elementswith the smallest number of pre-existing connections. This minimizes thevolume of necessary computations for matrix rearrangement.

The preferred embodiment uses a dedicated time slot when rearrangementis necessary in the time domain. For example, referring to FIG. 1, the128th time slot may be dedicated as an extra time slot for use duringmatrix 50 rearrangement. Similarly, in the space domain, rearrangementuses a dedicated or extra center switch. For example, referring to FIG.2, center switch 17 may be the dedicated or extra center switch. Thepresent connection technique automatically uses the dedicated or extraelement (either the dedicated or extra time slot in the time domain orthe dedicated center stage switch in the space domain) when arearrangeably blocked condition exists.

FIG. 3 illustrates that N(17,16,16) matrix 72 of FIG. 2 may begeneralized to matrix 88 for which the expression N(m,n,r) describes theconfiguration. Following the convention of the N(17,16,16) matrix 16,the generalized notation N(m,n,r) describes generalized matrix 88. Inthe N(m,n,r) notation, m equals the number of rxr center stage switches(as well as the number of outputs from each nXm input stage and thenumber of inputs to each mXn output stage switch); n equals the numberof inputs to each nXm input stage switch (as well as the number ofoutputs from each mXn output stage switch); and r equals the number ofnXm input stage switches (as well as the number of mXn output stageswitches). Note also that, in matrix 88, m at least equals n+l. Thislimitation on m for a given n assures that there exists at least oneextra center stage switch.

Referring more particularly to FIG. 3, generalized matrix 88 has n inputgates 90 that connect to input switches, such as input switch 92, havingm output connections 94. In generalized matrix 88, there may be, forexample, r input switches 92. The input switch-to-center switchconnections 94 connect to the rXr center switches such as center switch96 where each center switch 96 receives r center switch connections 94and provides r output connections 98. In the example of FIG. 3, thereare m center switches 96. Each center switch-to-output switch connection98 from center switches 96 connects to an output switch 100. Each outputswitch 100 receives m center switch-to-output switch connections 98 andoutputs to n output gates such as output gate 102.

Both the N(17,16,16) matrix 72 of FIG. 2 and the N(m,n,r) matrix 88 ofFIG. 3 are said to be rearrangeable matrices if, respectively, for agiven state of the matrix and any given idle pair of input gates 76 or90 and output gates 86 or 102, the existing connections within thematrices may be reassigned to new paths, if necessary, to allowconnecting the respective idle pairs. The matrices are rearrangeable ifand only if m≧n. For convenience in notation, in a network described bythe expression N(m,n,r), the notation Δ (m,n,r) denotes the number ofconnections that must be rearranged in order to connect an idle pair ofinput and output gates. Paull's Method derives from the property that Δ(n,n,n)≦n-1. In other words, for the N(n,n,n) matrix, it is necessary tomove at most n-1 connections to connect an idle input gate to an idleoutput gate. A particular application of this property means, forexample, that for matrix 72 of FIG. 2, rearrangement requires at mostn-1=17-1=16 connection changes in order to connect an idle input gate toan idle output gate.

In the following discussion, FIG. 4 introduces notation to assist inunderstanding the preferred embodiment. FIG. 5 provides a flow chart toillustrate the basic concepts of the immediate connect method and systemof the present invention. Thereafter, FIGS. 6 through 14 show an exampleof the operation of the method and system in the presence of arearrangeably blocked condition of a matrix 72 of the three center stagespace matrix 56. For the purpose of understanding the present inventionin yet more detail, the operation of the method and system are describedby way of FIGS. 15 through 34 that use a simplified N(5,4,4)rearrangeable matrix having the ability to perform immediate connectionin a rearrangeably blocked condition.

In FIG. 4, notation beneficial for understanding the present inventionuses square matrix 110 to represent connections existing in a spacedomain matrix such as matrix 88 of FIG. 3. Square matrix 110 has rows112 designating input switches (such as input switch 92 of FIG. 3) andcolumns 114 representing output switches (such as output switch 100 ofFIG. 3.) The simplified example of FIG. 4 shows the number of rows 112and columns 114 equals 8. Note that to correspond exactly to theN(17,16,16) matrix of FIG. 2, FIG. 5 could show a matrix having 16 rowsrepresenting input switches 74 and 16 columns representing outputswitches such as output switch 84. Within each square matrix positionsuch as matrix position 116, there are m possible symbols that mayappear. These m symbols correspond to the center switches such as centerstage switch 96 of FIG. 3. For example, matrix position 116 may have mpossible entries, one for each of the center stage switches 96 appearingin FIG. 3.

In FIG. 4, the ordered pair (3,1) denotes matrix position 116, where 3is the row designation, i.e., row 3 having reference numeral 118, and 1is the column position, i.e., column 1 having the reference numeral 120.The entry B (1≦B≦m) in matrix position (3,1) corresponds to a connectionfrom input switch 3 through intermediate switch B to output switch 1. Noentry in a matrix position such as the empty matrix position (3,2) thatreference arrow 122 points to indicates the absence of any connectionbetween input switch 3 and output switch 2.

Referring, for example, to FIG. 3, since there may be only n input gates90 to each input switch 92 and n output gates 102 from each outputswitch 100, only n symbols may appear in any row 112 or column 114.Since each input switch 92 has only one connection 94 to each centerswitch 96, no two symbols in any row 112 may be the same. Similarly,each output switch 100 has only one connection 98 from each centerswitch 96. No two symbols in any column 114 may be the same. With thenotation of FIG. 4, a square matrix 110 satisfying these restrictions issaid to be "legitimate" since it has only legitimate entries.

Note, that a trivial blocking case occurs if all of the input lines toan input switch such as input switch 1 designated by row 1 are alreadyconnected. This would correspond to having n symbols (e.g., 16 symbolsin the case of FIG. 2) in row 1. Similarly, if all the output lines tooutput switch 3, for example, were already connected corresponding to nsymbols in column 3 (e.g., 16 symbols for the example of FIG. 2) thenetwork matrix 72 of FIG. 2 and 88 of FIG. 3 is trivially blocked andsquare matrix 110 will represent this fact.

In FIG. 5, flow chart 140 describes the steps and functions of thepreferred embodiment of the present invention. Beginning at start step142, the method is first to query, as query block 144 indicates, whetherthere is a pair of ports presented for connection. In the example ofFIG. 3, the step is to query whether there is an idle input gate 90 toconnect to an idle output gate 102. If there is such a pair, then flowgoes to block 146 to begin time domain connections. If there is not apair of ports presented for connection, then flow goes to block 148which is described below. At begin time domain step 146, flow goes toblock 150 where the method selects the lowest numbered time slotavailable for connection. Then, at block 152 space domain operationsbegin for selecting the lowest numbered center stage input switchavailable for connection at step 154. Having selected the lowestnumbered center stage for connection, the connections are made at block56 and square matrix 110 or a similar status table designatingconnections is updated at block 158.

At block 160, a query of whether space rearrangement is required takesplace. If so, then flow goes to block 162 where the step is to selecttwo center stage switches for rearrangement. Next, at block 164, thestep is to find the connections to be rearranged and, from theconnections, the query at block 166 is of which path requires the leastnumber of rearrangements. If the path X→A requires the least number ofrearrangements, then program flow takes path 168. If X→B requires theleast number of rearrangements, then program flow takes path 170.Regardless of which path program flow takes, at step 172 connections arerearranged, one at a time, using a "hitless roll." The discussion belowdefines the term "hitless roll." And flow returns to step 174 to endspace domain operations. Note that if no space rearrangement wasnecessary, then flow from query block 160 goes directly to end spacedomain step at block 174.

At query 176, the question is whether time rearrangement is required. Ifso, then flow goes to step 178 at which point the method is to selecttwo time slots for rearrangement. Then, at block 180, the step is tofind connections to be arranged. At block 182, a query occurs of whichpath requires the least number of rearrangements. If the X→A pathrequires the least number of rearrangements, flow goes along path 184.On the other hand, if the X→B path requires the least number ofrearrangements, then flow follows path 186. The next step, regardless ofwhether program flow takes path 184 or 186, is to rearrange connectionsone-at-a-time, again using a hitless roll in the time domain at step188. Program flow then goes to step 190 to end time-domain operations.Note that if query block 176 determines that no time rearrangement wasrequired, flow proceeds directly to end time domain block 190.

From end time domain block 190, flow goes to query 148 where the methoddetermines whether a pair of ports is presented for disconnect. If not,then flow returns to query block 144 to proceed as previously described.If a pair of ports is presented for disconnect, at this point the methodis to remove connections as requested per block 192 and then update datatables reflecting the connections for the matrix at step 194.

At query 196, the method determines whether a "pack connections after adisconnect" function is enabled. If so, then flow goes to query 198 toexamine whether a rearrangement is in progress. If so, then flow willloop via path 200 until rearrangement is no longer in process. AlthoughFIG. 5 shows disconnect as occurring subsequent to completing anynecessary rearrangement, the present method and system may process adisconnect request in parallel with rearrangement. Therefore, if thesystem of the present invention seeks to direct connections to the mostused part of matrix first so as to pack calls after a disconnect, therearrangement-in-progress query of block 198, prevents attempting topack during rearrangement.

If a rearrangement is not in progress, from query block 198, the nextstep is to determine the connections to the packed in the space at step202. The next step of flow chart 140, then, is to pack connections inthe space domain using a hitless roll at block 204. And then, at block206, the step is to determine the connections to be packed in time,after which the connections are packed at block 206 in time using anautomatically hitless roll. Program flow then returns to point 210 tocontinue the previously described operations of flow chart 140.

The following discussion describes how steps of flow chart 140 of FIG. 5relate to the square matrix 110 of FIG. 4. Recall that after updatingsquare matrix 110 or similar table at step 158, the method of thepreferred embodiment detects whether a rearrangeably blocked conditionexists. Thus, when the dedicated element (either a time slot in the timedomain or center stage switch in the space domain) in a matrixconnection configuration is used to make an immediate connection betweenan idle input gate and an idle output gate, the existence of arearrangeable blocking condition is automatically detected.

Steps 162 and 178 execute Paull's Method to find the path requiring thefewest rearrangements. Specifically, with the blocked cell denoted (r₁,c₁) such as cell 121 of FIG. 4, the method tests to find all symbolpairs (A,B) such that if A is in row 1, but not in column 1, and B is incolumn 1, but not in row 1. For given pairs of symbols, say (A,B), thereare two possible rearrangement sequences, one of which will be shorter.Making this determination is part of step 16 in the space domain andstep 182 in the time domain.

The sequence "X→A" denotes a sequence that starts with an immediateconnection through the dedicated element (e.g., center stage switch 17of FIG. 2 for the space domain and the time slot 128 in FIG. 1 for thetime domain) and ends with the blocked cell being assigned to element A.The sequence begins, for example, by starting with the blocked cell (r₁,c₁) at 121 of FIG. 4). Since there is no B in row r₁, the search for anA in r₁ takes place. There must be an A in row r₁, otherwise the matrixis not blocked. Once the A in row r₁ is found, it is circled or tagged.

In general, then, suppose that the circled A is in (r_(j), c_(k)), 1≦j,k≦8. Then, a search for a B in column c_(k) takes place. If there is no Bin column c_(k),the sequence ends and then the next step is to findconnections to be rearranged at block 164 or 180, as appropriate. If a Bappears in column c_(k),the next step is to circle the B and continue.If the circled B is in the (r_(k),c_(j)) position, then a search for anA in row r_(k) takes place. The sequence X→A continues to alternatebetween circling B's in columns in A's in rows, until there exists acolumn with no B to circle or a row with no A to circle. Note that notall A's and all B's get circled, only those encountered in the abovesearch.

Generating the X→B sequence occurs in similar fashion, as follows.Starting with the blocked cell (r₁, c₁) 121 of FIG. 4, for example,there is no A in column 1, so the search begins for a B in column c₁.There must be a B in column c₁, otherwise the matrix would not beblocked. Then, procedure is to circle that B. Since the circled B is inposition (r₃,c₁), the search for an A in row r₃ begins. If there is no Ain r₃,then this sequence ends and program flow continues to step 164 or180, as appropriate for the space or time domain. Otherwise, theprocedure is to circle the A and continue. In this example, the circledA is in position (r₃,c₃) then the search begins for a B in column c₃. Ifthere is no B in column c₃, then the sequence ends. Otherwise, thesequence is to circle the B and continue. This procedure continues toalternate between circling B's in columns and A's in rows until either acolumn with no B to circle or a row with no A to circle is found. Note,not all A's nor all B's get circled, only those encountered in the abovesearch.

For a given pair of symbols (A,B), the next step is to choose the pathgenerated by the sequence (either the X→A sequence or the X→B sequence)that contains the least number of circled symbols (i.e., A's or B's).For all such pairs of symbols, the step is to choose the pair (A,B) thatcontains the least number of circled symbols (either A's or B's). Thissequence determines the minimum number of rearrangements necessary toestablish a path from the input to the output of the rearrangeablematrix.

Rather than completely generating all the X→A and X→B sequences, thepreferred embodiment generates the shortest sequence. This isaccomplished in block 164 in the space domain and block 180 in the timedomain using a technique of the preferred embodiment that shallhereinafter be called a flooding algorithm. The flooding algorithmstarts by finding the first element of the X→A sequence. If the X→Asequence is not ended, the first element of the X→B sequence is found.Then, if the X→B sequence is not ended, the next element of the X→Asequence is found. This process continues until the shorter of the twosequences is generated. At the time that the shorter of the twosequences is generated, the search terminates.

The point at which flooding algorithm terminates determines the path ofthe minimum number of rearrangements as indicated in block 166 in thespace domain and block 182 in the time domain.

In step 172 for the space domain and step 188 for the time domain,rearrangements take place using a hitless roll. The sequence of circledsymbols, either A's or B's, that the above steps determined are thenchanged to clear the blocked cell using the appropriate X→A or X→B rolldepending on which yields the minimum number of rearrangements.

The following Table 1 and accompanying text describe the steps of makingthe connections to yield rearrangement of the center stage switches whenX→A results in the minimum number of connection rearrangements:

                  TABLE 1                                                         ______________________________________                                        STEP               ACTION                                                     ______________________________________                                        1                  X → (r.sub.1, c.sub.1)                              2                  B → B , X                                           3                  B , X → X                                           4                  A → A , B                                           5                  A , B → B                                           6                  X → X, A                                            7                  X, A → A                                            ______________________________________                                    

If the X→A sequence yields the minimum number of rearrangements, then,referring to square matrix 110 of FIG. 4, step 172 or 188 of FIG. 5, asappropriate, the method is to put an "X" in the (r₁, c₁) positionindicating the connection was made through the extra center stageswitch, (TABLE 1, Step 1 indicates this action). Then for the circledB's, the roll first adds X's (Step 2) and then removes the circled B's(Step 3). Next, for the circled A's, the roll first adds the B's (Step4) and then removes the circled A's (Step 5). Then, for X's appearing inthe matrix, A's are first added (Step 6) and then the X's are removed(Step 7).

The following Table 2 and accompanying text describe the steps of makingthe connection to yield rearrangement of the center stage switches whenX→B results in the minimum number of connection rearrangements:

                  TABLE 2                                                         ______________________________________                                        STEP               ACTION                                                     ______________________________________                                        1                  X → (r.sub.1, c.sub.1)                              2                  A → A , X                                           3                  A , X → X                                           4                  B → B , A                                           5                  B , A → A                                           6                  X → X, B                                            7                  X, B → B                                            ______________________________________                                    

The X→B roll occurs in similar fashion to that of the X→A roll. Forexample, the first step is to put an X in the position (r₁, c₁)indicating the connection was made through the extra center stage (TABLE2, Step 1). For the circled A's, the roll first adds X's (Step 2) andthen removes the circled A's (Step 3). Next, for the circled B's, theroll adds A's (Step 4) and then removes the circled B's (Step 5). Then,for the X's, the roll adds the B's (Step 6) and finally removes the X's(Step 7).

Rearrangement is performed as necessary using a "head-end-bridge" and a"receive-end-switch" to effect a hitless roll (including the initialconnection placed in the designated or extra element) to the lowernumbered elements of the matrix. The terms head-end-bridge andreceive-end-switch are defined and explained illustratively inconnection with the example of FIGS. 15 through 34 below. These stepsleave the extra element clear and ready for the next immediateconnection in a rearrangeably blocked condition.

Although it is believed that the present specification and drawingsfully and accurately describe the system and provide sufficientinformation so that anyone skilled in the art may practice the inventiveconcept, "Unpublished Appendix A" is provided herewith to remainunprinted. Unpublished Appendix A includes a listing of the workingsource code to enable a computer to operate and perform the immediateconnect method of the present method and system.

OPERATION

Having explained generally the processes of the preferred embodiment,the following illustrative example shows how the preferred embodimentprovides an immediate connect in the presence of a rearrangeably blockedcondition in the space domain. The time domain method becomes obviousupon understanding implementation of the space domain method.

FIGS. 6 through 14 illustrate an example of the immediate connect methodof the preferred embodiment. In the square matrix 110 of FIG. 6, cell(1,1) is marked as blocked because the present connection algorithmdetected that the dedicated center stage switch is the only center stageswitch having both an idle link to input switch 1 and an idle link tooutput switch 1.

In response to this condition, the connection algorithm in effect putsan X at (r₁, c₁) to make the connection, as FIG. 6 shows. The use of thenotation "X" herein denotes the use of the dedicated or extra centerstage switch in a rearrangeably blocked condition. When the designateddedicated center stage switch of the large matrix configuration is usedby the connection algorithm, a rearrangeable blocking condition isautomatically detected.

Since the connection pair (1,1) is rearrangeably blocked, in order for aconnection to be possible, there must exist an idle link between inputswitch 1 and some center stage switch, say A. Furthermore, there mustexist an idle link between output switch 1 and some center stage switch,say B. The pair (A,B) is one pair of center stage switches to beconsidered for rearrangement. In this example, the pair (A,B) is theonly pair of center stage switches that meets the above criteria. Sincethe pair (A,B) constitutes the entire set of pairs to be searched, (A,B)is the pair that requires the fewest rearrangements.

FIG. 7, shows the X→A sequence and FIG. 8 shows the X→B sequence of theimmediate connect algorithm of the preferred embodiment. Together, FIGS.7 and 8 show the operation of the flooding algorithm of the preferredembodiment. For example, the first step starts off in FIG. 7 at row r₁and finds an A in (r₁,c₂) which is circled. FIG. 8 shows the second stepof the flooding algorithm which uses the X→B sequence and starts off incolumn c₁ to find a circled B in (r₃,c₁). Then, the third step takesplace back in FIG. 7 wherein column c₂ is examined for a B. This isfound at position (r₂,c₂) and circled. Since there are no A's row r₂,this X→A sequence is complete. The two symbols in FIG. 7 indicate tworearrangements are required.

Although the flooding algorithm of the present 30 method ends at thethird step, if it were to continue, in FIG. 8 row r₃ would be examinedfor an A, which would be found in position (r₃,c₃). This procedure wouldcontinue to alternate between circling B's in columns and A's in rowsuntil either a column with no B to circle or a row with no A to circle.The four circled symbols in FIG. 8, therefore, indicate fourrearrangements are necessary in the example.

Since the X→A sequence requires only two rearrangements, and the X→Brequires four rearrangements, the preferred embodiment chooses the X→Asequence for the pair (A,B). Since the pair (A,B) is the only pair ofcenter stage switches being considered, the X→A sequence yields theminimum number of rearrangements.

The next step is to execute the rearrangements using the previouslymentioned "hitless roll." Since the X→A sequence yields the minimumnumber of rearrangements, the preferred embodiment uses the X→A roll inthis example. The hitless roll includes the initial connection placed inthe dedicated center stage switch. This roll takes place by firstperforming the necessary rearrangement using a head-end-bridge andreceive-end-switch.

FIGS. 9 through 14 illustrate executing the X→A hitless roll. The methodchanges the sequence of previously circled symbols A and B to clear theblocked cell as follows:

For the circled B's add X's as FIG. 9 shows. In this example, this stepcorresponds to setting up a head-end-bridge through the center stageswitch at the extra switch X for the existing connection from inputswitch 2 through center stage switch B and a receive-end-switch throughcenter switch X for the existing connection and from center stage B tooutput stage 2.

The next step is to remove the circled B's as FIG. 10 shows. In thisexample, when a connection exists through center stage switch X, andoutput switch 2 receives a good signal, the next step is to take downthe connection from input switch 2 through center stage switch B tooutput switch 2.

Then, as FIG. 11 shows for the circled A's add B's. In this example,this step corresponds to setting up a head-end-bridge through the centerstage switch B for the existing connection from input switch 1 throughcenter stage switch A and a receive-end-switch through center stageswitch B for the existing connection from center stage switch A tooutput switch 2. Then, as FIG. 12 shows, the circled A's are removed. Inthis example, when a connection exists through center stage switch B andoutput switch 2 receives a good signal, the next step is to take downthe connection from input switch 2 through center stage switch A tooutput switch 2.

Then, the next step is to add A's to the positions containing the X's,as FIG. 13 shows. In this example, this corresponds to setting up ahead-end-bridge through center stage switch A for both the connectionfrom input switch 2 through center switch X to output switch 2 and theimmediate connection from input switch 1 through center switch X tooutput switch 1.

The final step is to remove the X's as FIG. 14 illustrates. In thisexample, when each connection through center stage switch A exists andthe corresponding output switch receives a good signal, thecorresponding connection from the input switch through center switch Xto the corresponding output switch may be taken down. Note that theextra center stage switch X is left idle, since all connections arerolled off the extra enter stage switch X to the appropriate centerstage switch.

Having described in detail the operation of the preferred method andsystem, the following discussion illustrates the connection pathselection method and system of the preferred embodiment. For simplicityin describing this aspect of the present invention, the exampleconsiders connections in a further reduced N(5,4,4) space matrix 220 ofFIG. 15.

FIG. 15 illustrates the state of a simplified N(5,4,4) space matrix 220after initialization. Note that the fifth center stage switch 224 islabeled X to indicate that it is the dedicated or extra center stageswitch. As legend 226 shows, short-dashed lines 228 indicate an idlelink, continuous line 230 indicates a busy link, and long-dashed line232 shows a switch connection. Since there are no inputs connected toany outputs in FIG. 15, there are no input stage, center stage, oroutput stage switch connections and all of the links between theswitches are idle.

With the simplified N(5,4,4) space matrix in mind, it is possible todetail how to implement computer software to accomplish the connectionpath selection and other purposes of the present invention. Note,however, that the size of space matrix 220 does not limit the utility orapplicability of the software implementation. To assist in understandingthe software implementation, the following discussion introduces datadefinitions and notations relevant in manipulating the matrices 222,234, 236, 238, and 240 of FIG. 16. Note, also, that for ease inunderstanding connections, FIG. 15 uses the same reference numerals forinput gates 90, input stage switches 92, etc. appearing in thegeneralized N(m,n,r) matrix of FIG. 3. The following data definitionsare useful in the description of the present connection method andsystem.

In a software implementation, input/output gate or line conversionsoccur. For example, a connection may be requested in the form ofIL-m→OL-n. In other words, input line m to output line n. The input linenumber is converted to an input switch stage number i and an inputnumber for that input switch stage j such that IL-m→I(i,j). Similarly,the output line number is converted to an output switch stage number kand an output number for that output switch stage 1 such thatOL-n→O(k,1).

More formally, I(i,j) is determined from IL-m and O(k,1) is determinedfrom OL-n by:

i=1+Quot_(N) (m-1)

j=1+Rem_(N) (m-1)

k=1+Quot_(N) (n-1)

l=1+Rem_(N) (n-1)

where

N is the number of first (input) stage switches, which is equal to thenumber of third (output) stage switches;

Quot_(N) is the integer quotient of the argument divided by N; and

Rem_(N) is the integer remainder after the argument has been divided byN.

The following statements and data definitions may be understood withreference to FIGS. 15 and 16 to provide computer-generated matrices toaccomplish the purposes of the present invention.

    ______________________________________                                        Data Definition:                                                                             space.sub.-- in.sub.-- mat(in.sub.-- stage,in.sub.--           ______________________________________                                                       num)                                                       

In FIG. 16, the space input matrix 222 for the FIG. 15 N(5,4,4) exampleis a 4×4 matrix which represents the connection of the input stageswitches in the SSS such as switch 92. Each row of space input matrix222 corresponds to one of the input stage switches 92. The columns ofspace input matrix 222 correspond to the input gates 90 to each of thefirst stage switches. The entries in the space input matrix correspondto the outputs of the first stage switches such as outputs 94. Since theoutput of each of the input stage switches is connected to the centerstage switch of the same number, the entries in the space input matrixmay be viewed as the center stage switch to which that particular inputstage switch (row), input (column) is connected.

As a result, the statement

    ______________________________________                                        Statement:       space.sub.-- in.sub.-- mat(i,j) = c                          ______________________________________                                    

causes space input matrix 222 to indicate a connection from the j^(th)input of the i^(th) first stage switch to center stage switch c.

The entries in space input matrix 222 range from O to X using thesimplified example of FIG. 15. A O indicates that no connection has beenassigned. Entries of 1 through 4 are normal connections. A numericalentry in matrix 222 of 5, in this example corresponds to the entry of"X" in FIG. 6 and indicates that the extra center stage switch 224 hasbeen assigned and the rearrangement process has been invoked.

    ______________________________________                                        Data Definition:                                                                            space.sub.-- cnt.sub.-- mat[cnt.sub.-- stage,in.sub.--                        stage]                                                          ______________________________________                                    

Space center matrix 234 is a 5×4 matrix which represents the connectionmap of the center switches in the space domain such as center stageswitches 96. Each row of the space center matrix corresponds to one ofthe center stage switches 96. The columns of the space center matrixcorrespond to the inputs to each of the center stage switches such asinputs 94. The entries in the space center matrix correspond to theoutputs of the center stage switches such as output 98. Since the outputof each of the center stage switches 96 connects to the output stageswitch of the same number, the entries in the space center matrix 234may be viewed as the output stage switch to which that particular centerstage switch (row), input column connects.

As a result, the statement

    ______________________________________                                        Statement:       space.sub.-- cnt.sub.-- mat(c,j) = k                         ______________________________________                                    

causes space center matrix 234 to indicate a connection from the j^(th)input of the center stage switch "c" to the k^(th) output stage switch.The entries in space center matrix 234 range from 0 to 4. A O indicatesthat no connection has been assigned. Entries of 1 through 4 are normalconnections. A zero entry in X^(th) row (i.e., the 5th row in thisexample) indicates that the extra center stage switch 224 has beenassigned and the rearrangement process has been invoked.

    ______________________________________                                        Data Definition:                                                                           space.sub.-- out.sub.-- mat[out.sub.-- stage,out.sub.--          ______________________________________                                                     num]                                                         

Space output matrix 236 is a 4×4 matrix which represents the connectionmap of the output stage of the space matrix in the space domain. Eachrow of space output matrix 236 corresponds to one of the output switchessuch as output switch 100. The columns of space output matrix 236correspond to the output from each of the output switches such as outputgates 102. The entries in space output matrix 236 correspond to theinput to which that output connects such as connections 98. Since theinput of each output switch connects to the center stage switch of thesame number, the entries in space output matrix 236 may be viewed as thecenter stage switch to which that particular output switch 100 (row),output gate 102 (column) connects.

As a result, the statement

    ______________________________________                                        Statement:      space.sub.-- out.sub.-- mat(k,l) = c                          ______________________________________                                         causes space output matrix 236 to indicate a connection from center stage     switch "c" to the l.sup.th output of the k.sup.th output stage switch. The     entries in space output matrix range 236 from O to X. A O indicates that     no connection has been assigned. Entries of 1 through 4 are normal     connections. An entry of X (i.e., 5 in this example) indicates that extra     center stage switch 224 as been assigned and the rearrangement process has     been invoked.

Continuing with reference to FIGS. 15 and 16, the following discussiondetails how to implement the preferred embodiment to represent an idlelink between an input gate and an output gate. In normal operation, thepresent connection method attempts to make a given connection throughthe lowest-numbered center stage switch. In order to make a connectionfrom a given input stage switch, such as input switch 92, to a givenoutput stage switch such as output switch 100, there must exist acertain center stage switch, such as center switch 96, with the propertythat there is an idle input link from input switch 92 to center switch96 and an idle output link from center switch 96 to output switch 100.

The present method and system track idle input links and idle outputlinks by using two different bit map arrays (one for input links and onefor output links). Each bit array map has a separate row for each row ofthe space center matrices. The method uses a group of primitives tooperate upon the bit maps to effect the connect and disconnectoperations. The primitives, in turn, invoke the rearrangement processwhen required.

    ______________________________________                                        Data Definition:                                                                            space.sub.-- in.sub.-- link[in.sub.-- stage,cnt.sub.--                        stage]                                                          ______________________________________                                    

For the example of FIGS. 15 and 16, space input idle link bit map 238 isa 4×5 bit array that represents the idle input links 94 between theinput switches 92 and the center switches 96 in the space domain. Eachrow of space input idle link bit map 238 corresponds to one of the inputstage switches 92. The entries in space input idle link bit map 238 fora given row (input stage) and column (center stage) indicate the idlestate of the input link 94 between that input stage and center stage. Anentry of 1 indicates that the input link is idle and available forassignment. A O value indicates that the input link is in use and is notavailable for assignment. A O entry in column X indicates that the extracenter stage switch 234 is in use and the rearrangement method is inprogress.

    ______________________________________                                        Data Definition:                                                                           space.sub.-- out.sub.-- link[out.sub.-- stage,cnt.sub.--                      stage]                                                           ______________________________________                                    

Space output idle link bit map 240 is a 4×5 bit array that representsthe idle output links between the output and the center switches 96 inthe space domain. Each row of space output idle link bit map 240corresponds to one of the output stage switches 100. The entries in thespace output idle link bit map 240 for a given row (output switch) andcolumn (center switch) indicate the idle state of the output link 98between that output switch and center switch. An entry of 1 indicatesthat the output link is idle and available for assignment. A O valueindicates that the output links is in use and is not available forassignment. A O entry in column X indicates that the extra center stageswitch 224 is in use and the rearrangement method is in progress.

Having described the maps for representation idle links, the followingdescribes primitive operations useful to manipulate the space idle linkbit maps 238 and 240 for connect and disconnect operations.

    ______________________________________                                        Primitive:           init.sub.-- links( )                                     ______________________________________                                    

The initialize idle link bit maps primitive (used only for start-upoperations) creates both space input idle link bit map 238 and spaceoutput idle link bit map 240 for the preferred embodiment. All entriesin the idle link bit maps are initialized to 1, indicating that alllinks are idle.

    ______________________________________                                        Primitive:         set.sub.-- link(i/o, j, k)                                 ______________________________________                                    

This primitive sets the k^(th) bit of the j^(th) row of the bit mapspecified by the "i/o" parameter to 1. If the bit map contains nelements and the value of j exceeds n, then the computer returns anerror flag. Otherwise, the k^(th) element is set to 1.

    ______________________________________                                        Primitive:        clear.sub.-- link (i/o, j, k)                               ______________________________________                                    

This primitive clears (resets) the k^(th) bit of the j^(th) row of thebit map specified by the i/o parameter to O. If the bit map contains nelements and the value of j exceeds n then the computer returns an errorflag. Otherwise, the k^(th) element is set to O.

    ______________________________________                                        Primitive:                                                                             pump.sub.-- link(space.sub.-- in.sub.-- link[i],space.sub.--                  out.sub.-- link[k])                                                  ______________________________________                                    

The preferred method and system connect between an input switch stage iand an output switch stage k using the lowest numbered center stageswitch available. This is accomplished by a process that hereinaftershall be called "pumping" space₋₋ n₋₋ link[i] and space₋₋ out₋₋ link[k].That is, space₋₋ in₋₋ link[i] is logically "ANDed" with space₋₋ out₋₋link[k] to determine c, the lowest numbered center stage switch withboth an idle link to input stage i and an idle link to output stage k.The index of the first non-zero entry in the result of the logical ANDis c, the lowest numbered center stage switch with both an idle link toinput stage i and an idle link to output stage k. The two links to c arethen marked as "busy" in space₋₋ in₋₋ link[i] and space₋₋ out₋₋ link[k]and the center stage number c is returned. Table 3 illustrates anembodiment of this primitive macro.

                  TABLE 3                                                         ______________________________________                                        PUMP LIST MACRO FLOW CHART                                                    ______________________________________                                        pump.sub.-- link(space.sub.-- in.sub.-- link[1], space.sub.-- out.sub.--      link[k]                                                                       int c, i, k, x[xtra.sub.-- stage];                                            int j;                                                                        x = space.sub.-- in.sub.-- link[i] && space.sub.-- out.sub.-- link[k];        for (j = 1; j ≦ xtra.sub.-- stage; j++0                                {                                                                             if (X(j) ==1)                                                                 {                                                                             c = j;                                                                        break;                                                                        }                                                                             }                                                                             clear.sub.-- link(space.sub.-- in.sub.-- line, i,c);                          clear.sub.-- link(space.sub.-- out.sub.-- link, k, c);                        if (c == xtra.sub.-- stage)                                                   {                                                                             rearrange = 1;                                                                ]                                                                             return(c);                                                                    {                                                                             ______________________________________                                    

FIG. 16 illustrates the implementation data matrices afterinitialization. The corresponding entries in the connection pathselection matrices space₋₋ in₋₋ mat 222, space₋₋ cnt₋₋ mat 234, andspace₋₋ out₋₋ mat 236, for the example, are illustrated in FIG. 16.Since there are no switch connections, all of the entries are O. Thecontents of the space₋₋ in₋₋ link 238 and space₋₋ out₋₋ link 240 bitmaps are as shown at initialization. Note that each input stage switchand each output stage switch has a 1 element for each idle center stageswitch. In this example, after initialization, all five center stageswitches are marked as "idle".

FIG. 17 shows the implementation data after the first connection.Suppose the first connection requested is to connect input line 1 tooutput line 1, or more simply, IL-1→OL-1. The first step is to convertthe input line number to an input switch stage number and an inputnumber for that input switch stage. In this case, IL-i→I(1,1).Similarly, the output line number is converted to an output switch stagenumber and an output number for that output switch stage. In this case,OL-1→O(1,1). So, we are going to make a connection between input stage 1and output stage 1.

The present method and system attempt to make the connection betweeninput stage 1 and output stage 1 by using the lowest numbered centerstage switch available, which in this case is center stage 1. This isaccomplished by using the pump₋₋ list macro of TABLE 3 to comparespace₋₋ in₋₋ link[1] with space₋₋ out₋₋ link[l] in FIG. 16 and set theidle connects of the lowest center stage number common to both bit mapsto "0". Then, the space₋₋ in₋₋ mat(i,j) and the space₋₋ out₋₋ mat(k,1)are set equal to that center stage number, and the space₋₋ cnt₋₋mat(c,j) is set equal to k. The corresponding space matrix data entriesare shown in FIG. 17 and the resultant state of the space matrix 220 isshown in FIG. 18.

The following statements accomplish this process:

                  TABLE 4                                                         ______________________________________                                        CONNECT STATEMENTS                                                            ______________________________________                                        x = pump.sub.-- list(space.sub.-- in.sub.-- link[i], space.sub.--             out.sub.-- link[k]);                                                            space.sub.-- in.sub.-- mat(i,j) = c;                                          space.sub.-- cnt.sub.-- mat(c,i) = k;                                         space.sub.-- out.sub.-- mat(k,l) = c;                                       where, in this case, i=j=k=l=m=c-1.                                           ______________________________________                                    

Assume the procedure of adding connections continues until n² -2connections have been made (presumably without rearrangement) with theresultant space matrix shown in FIG. 19 and connection path selectionmatrix data shown in FIG. 20.

Then, the request to connect IL-13 to OL-7 is received. The request toconnect IL-13 to OL-7 converts to a request connect I(4,1)→O(2,3). Thepresent method and system attempt to make the connection between inputstage 4 and output stage 2 by using the lowest numbered center stageswitch available, which in this case, is center stage switch number 4,as illustrated in FIG. 20. The pump₋₋ list macro of Table 1 comparesspace₋₋ in₋₋ -link[4] with space₋₋ out₋₋ link[2] , determines the lowestcenter stage number common to both bit maps, and sets the idle status to"busy" in both bit maps. Then the space₋₋ in₋₋ mat(i,j) and the space₋₋out₋₋ mat(k,1) are set equal to that center stage number and the space₋₋cnt₋₋ mat(c,j) is set equal to k.

The corresponding space matrix data entries are shown in FIG. 21 and theresultant state of the space matrix is shown in FIG. 22. This process isaccomplished using the following statements from the connect routine asbefore:

                  TABLE 5                                                         ______________________________________                                        CONNECT STATEMENTS                                                            ______________________________________                                        x = pump.sub.-- list(space.sub.-- in.sub.-- link[i], space.sub.--             out.sub.-- link[k]);                                                            space.sub.-- in.sub.-- mat(i,j) = c;                                          space.sub.-- cnt.sub.-- mat(c,i) = k;                                         space.sub.-- out.sub.-- mat(k,l) = c;                                       where in this case, i=4 j=1 k=2 l=3 m=13 n = 7 and c=4.                       ______________________________________                                    

Suppose the next request is to disconnect IL-13 from OL-7 (which takesdown the connection that was just made). The request to disconnect IL-13from OL-7 converts to a request to disconnect I(4,1)→O(2,3). The put₋₋back macro accomplishes the disconnect by breaking the connectionbetween input stage 4 and output stage 2 and putting the freed-up centerstage switch, number 4, back on the input/output stacks for subsequentuse. More specifically, the put₋₋ back macro determines the freed-upcenter stage switch number and puts it back in the proper positions onboth of the ordered-linked lists in space₋₋ in₋₋ link[4] and space₋₋out₋₋ link[2]. Then, the space₋₋ in₋₋ mat(i,j), the space₋₋ cnt₋₋mat(c,j), and the space₋₋ out₋₋ mat(k,1) are set equal to O.

The corresponding space matrix data entries are shown in FIG. 23 and theresultant state of the space matrix is same as shown before FIG. 18. Thedisconnect is accomplished using the following statements from the put₋₋back macro:

                  TABLE 6                                                         ______________________________________                                        DISCONNECT STATEMENTS                                                         ______________________________________                                        c = space.sub.-- in.sub.-- mat (i,j);                                           set.sub.-- link(space.sub.-- in.sub.-- link, i, c);                           set.sub.-- link(space.sub.-- out.sub.-- link, k, c);                          space.sub.-- in.sub.-- mat(i,j) = 0;                                          space.sub.-- cnt.sub.-- mat(c,i) = 0;                                         space.sub.-- out.sub.-- mat(k,l) = 0;                                       where in this case, i=4 j=1 k=2 l=3 m=13, n=7, and c=4.                       ______________________________________                                    

Next, suppose we receive a request to connect IL-13 to OL-12. Therequest to connect IL-13 to OL-12 converts to a request to connectI(4,1)→O(3,4). The present method and system attempt to make theconnection between input stage 4 and output stage 3 by using the lowestnumbered center stage switch available. In this case, the X^(th) orextra center stage switch 224 is the lowest number available centerstage switch, as illustrated in FIG. 25.

As before, the pump₋₋ list macro accomplishes this by comparing space₋₋in₋₋ stack[4] with space₋₋ out₋₋ stack[3] in FIG. 23, determining thelowest center stage number common to both bit maps (which in this caseis center stage switch "X"), and setting the idle status to "busy" inboth bit maps. Then, the space n mat(i,j) and the space₋₋ out₋₋ mat(k,1)are set equal to that center stage number and the space₋₋ cnt₋₋ mat(c,j)is set equal to k. An entry of 5 indicates that the X^(th) center stageswitch has been assigned and the rearrangement process is automaticallyinvoked. The corresponding space matrix data entries duringrearrangement are shown in FIG. 24 and the resultant state of the spacematrix during arrangement is shown in FIG. 25.

The following immediate connect statements accomplish this:

                  TABLE 7                                                         ______________________________________                                        IMMEDIATE CONNECTION STATEMENTS                                               ______________________________________                                          x =                                                                         pump.sub.-- list(space.sub.-- in.sub.-- stack[i],space.sub.-- out.sub.--      stack[k]);                                                                      space.sub.-- in.sub.-- mat(i,j) = c;                                           space.sub.-- cnt.sub.-- mat(c,i) = k;                                         space.sub.-- out.sub.-- mat(k,l) = c;                                      where in this case, i=4 j=1 k=3 l=4 m=13, n=12, and c=5.                      ______________________________________                                    

As a result of the rearrangement algorithm the connection I(4,3)→O(2,1)that FIG. 26 shows is "rolled" from center stage switch number 2 ontocenter stage switch number 4. This roll is performed hitlessly bycreating a head-end-bridge at input stage switch 4 and areceive-end-switch at output stage switch 2 as shown in FIG. 27. Whenthe correct path is received at output stage switch 2 from center stageswitch 4, the original connection through center stage switch 2 isdropped as shown in FIG. 28 and the space matrix data is updated asshown in FIG. 29.

The previous roll now allows the immediate connection, I(4,1)→O(3,4), asFIG. 31 shows, which is on center stage switch X 224, to be rolled ontocenter stage switch 2.

This roll is performed hitlessly by creating a head-end-bridge at inputstage switch 4 and an receive-end-switch at output stage switch 3 asshown in FIG. 31. When the correct path is received at outputs stageswitch 3 from center stage switch 2, the original connection throughcenter stage X 224 is dropped.

Rolling the immediate connection, I(4,1)→O(3,4), off the extra centerstage switch completes the rearrangement process for this connection.Note that this process leaves the extra center stage switch clear andready for a next connection when a rearrangeable blocking conditionoccurs. FIG. 32 shows the resulting state of the space matrix afterrearrangement. FIG. 33 shows the corresponding space matrix data entriesafter rearrangement.

In FIG. 34, the rearrangement aspects of the preferred embodiment areapplied to the above example appear. Once the preferred embodiment usesdedicated center stage switch 224 to make the immediate connection, thesystem of the preferred embodiment invokes the rearrangement processautomatically. First, the system determines two center stage switcheswhich will participate in the rearrangement process. This isaccomplished using Paull's Method which is restated as follows:

If (r₁, c₁) is blocked, test all symbol pairs (A,B), such that A is inrow r₁, but not in column c₁ and B is in c₁, but not in r₁, to findwhich pair will require the fewest changes. The method then carries outthe changing algorithm on that pair.

Returning to the space matrix example of FIG. 25, it is preferred tofirst transform the space₋₋ cnt₋₋ mat matrix data in FIG. 24 into theformat of FIG. 4. FIG. 34 illustrates the results of thistransformation.

The use of the dedicated center stage switch is indicated by the X in(r₄,c₃) of FIG. 34. The next step is to find all symbol pairs (A,B) suchthat A is in row r₄, but not in column c₃, and B is in column c₃, butnot in row r₄. In this example, there is a 2 in row r₄, but no 2 incolumn c₃, so A is set to 2. Similarly, there is a 4 in column c₃, butno 4 in row r₄,, so B is set to 4. Since there is only one value for Aand one value for B, the (A,B) pair that requires the least changes is,obviously, the pair (2,4).

For a given pair of symbols (A,B) there are two possible rearrangementsequences. One of these two generally will be shorter. The followingsteps generate the X→A and X→B sequences for this example.

The X→A sequence starts with the immediate connection through the extraelement and ends up with the blocked cell being assigned to element A or2, in this case. Starting with the blocked cell (r₃,c₄), there is no inrow r₃,so this step requires a circle around the 2 in row r₃. Now, thecircled 2 is in (r₄,c₂). Then, a search for a 4 in column c₂ isnecessary. Since there is none, this sequence is complete. (Note thatnot all 2's get circled.)

The X→B sequence starts with an immediate connection through thededicated element 224 and ends up with the blocked cell being assignedto element B or 4, in this case. Starting with the blocked cell (r₃,c₄),there is no 2 in c₄, so a circle goes around the 2 in c₄. Now, thecircled 4 is in (r₃,c₃). Then, a search for a 2 in r₃ takes place. Sincethere is none, the sequence generation process is complete. (Note thatnot all 4's get circled.)

The flooding algorithm starts by finding the first element of the X→Asequence. If the X→A sequence is not ended, the first element of X→Bsequence is found. Then, if the X→B sequence is not ended, the nextelement of the X→A sequence is found. This process continues until theshorter of the two sequences is completed. (So, the X→B sequence shownin FIG. 34 is not really generated. It is shown here as an illustrationof the alternate path.)

In summary, the method and system of the preferred embodimentimmediately reswitch signal flow connections through a rearrangeablematrix that receives input lines having input signals to receive inputsignals or calls and has output lines for output signals, andtherebetween center switching elements to connect the input lines to theoutput lines by immediately connecting an input line causing arearrangeably blocked condition through the matrix to an output linethrough a dedicated or extra switching element of the center thendetecting the rearrangeable blocking condition. In response to detectingthe rearrangeably blocked condition, the method and system select a setof switching element pairs from the center switching element to form aplurality of possible connection configurations from the input lines tothe output lines (excluding the dedicated switching element), thensearch from the set of all possible pairs of center stage switches forthe connection configuration that requires a minimum number ofrearrangements of the pre-existing connection configuration, and thenreswitches the matrix according to the minimum connection configurationwhile maintaining all signal flow from the input lines through centerstage switch into the output lines while removing signal flow throughthe dedicated switching element.

As a result of the above, although the invention has been described withreference to the above embodiments, its description is not meant to beconstrued in a limiting sense. Various modifications of the disclosedembodiment, as well as alternative embodiments of the invention willbecome apparent to person skilled in the art upon reference to the abovedescription. It is therefore contemplated that the appended claims willcover such modifications that fall within the true scope of theinvention. ##SPC1##

What is claimed is:
 1. A method for immediately connecting and reswitching a communications matrix connection configuration, the communications matrix comprising a plurality of input stage switches having a plurality of input lines for receiving input signals, a plurality of center stage switches comprising a plurality of switching elements, and a plurality of output stage switches for sending output signals, the communications matrix having a plurality of preexisting matrix connections the method comprising the steps of:immediately connecting an input line in the presence of a rearrangeably blocked condition through the communications matrix to an output line through a dedicated switching element; detecting said rearrangeably blocked condition; selecting a set of switching element pairs from said switching elements, said switching element pair set forming a plurality of possible connection configurations from predetermined one of said input stage switches through said center stage switch, excluding said dedicated switching element, to a predetermined one of said output stage switches; searching for a minimum rearrangement connection configuration for connecting said input lines through said center stage switches, excluding said dedicated switching element, to said output lines, said minimum rearrangement connection configuration requiring a minimum number of rearrangements of pre-existing matrix connections; and reswitching the matrix according to said minimum rearrangement connection configuration while maintaining all signal flow from the input stage switches through the center stage switches and to said output stage switch and removing signal flow through said dedicated switching element.
 2. A system for immediately connecting and reswitching a communications matrix connection configuration, the communications matrix comprising a plurality of input stage switches having a plurality of input lines for receiving input signals, a center stage switches comprising a plurality of switching elements, and a plurality of output stage switches having a plurality of output lines for sending output switches, the communications matrix having a plurality of preexisting matrix connections the system comprising:a dedicated switching element of said center switches for immediately connecting an input line in the presence of a rearrangeably blocked condition through the communications matrix to an output line; detecting means for detecting said rearrangeably blocked condition; selecting means for selecting a set of switching element pairs from said switching elements of said switches, said switching element pair set forming a plurality of possible connection configuration from said input stage switches through said center stage switches, excluding said dedicated switching element, to said output stage switches; means for determining a minimum rearrangement connection configuration for connecting said input lines through said center stage switches, excluding said dedicated switching element, to said output lines, said minimum rearrangement connection configuration forming requiring a minimum number of rearrangements of pre-existing communication matrix connections; and switching means for reswitching the matrix according to minimum rearrangement connection configuration while maintaining all signal flow from said input stage switches through said center stage switches and to said output stage switches and removing signal flow through said dedicated switching element.
 3. A method for immediately connecting and reswitching a communications matrix connection configuration, the communications matrix comprising a plurality of input lines for receiving input signals, a plurality of center stage switches comprising a plurality of switching elements, and a plurality of output lines for sending output signals, the communications matrix having a plurality of preexisting connections, the method comprising the steps of:immediately connecting an input line in the presence of a rearrangeably blocked condition through the communications matrix to an output line through a dedicated switching element; detecting said rearrangeably blocked condition; selecting a set of switching element pairs from said switching elements of said center stage switches, said switching element pair set forming a plurality of possible connection configuration from said input lines through said center stage switches, excluding said dedicated switching element, to said output lines; deriving a minimum rearrangement connection configuration for connecting said input lines through said center stage switches, excluding said dedicated switching element, to said output lines, and minimum rearrangement connection configuration requiring a minimum number of rearrangements of pre-existing signal paths; and reswitching the matrix according to said minimum rearrangement connection configuration while maintaining all signal flow from the input lines through the center stage switch and to the output lines and removing signal flow through said dedicated switching element.
 4. A system for immediately connecting and reswitching a communications matrix connection configuration, the communications matrix comprising a plurality of input gates for receiving input signals, a center stage switch comprising a plurality of switching elements, and a plurality of output gates for sending output signals, the communications matrix having a plurality of preexisting matrix connections comprising:a dedicated switching element of the center stage switches for immediately connecting one of said input gages in the presence of a rearrangeably blocked condition through the communications matrix to one of said output gate; detecting means for detecting said rearrangeable blocked condition; selecting means for selecting a set of switching element pairs from said switching elements, said switching element pair set forming a plurality of possible connection configuration from said input gates through said center stage switches, excluding said dedicated switching element, to said output gates; a minimum rearrangement connection configuration for connecting said input gates through said center stage switches, excluding said dedicated switching element, to said output gates said rearrangement connection configuration requiring a minimum number of rearrangements of pre-existing connections; and reswitching means for reswitching the communications matrix according to said minimum rearrangement connection configuration while maintaining all signal flow from said input gates through said center stage switches and to said output gates.
 5. A method for establishing a connection configuration in a communications matrix with a rearrangeably blocked condition, said communications matrix having at least three connection stages, said connection stages including an input state, at least one center stage, and an output stage, said input stage connected to a center stage, said output stage connected to a center stage, said input stage comprising at least one input switch, each input switch containing a plurality of input gates, said output stage comprising at least one output switch, each output switch containing a plurality of output gates comprising the steps of:immediately connecting an input gate to an output gate through a dedicated element of a center stage to form an immediate connection configuration said dedicated element associated for connecting said input gate to said output gate when the matrix configuration experiences a rearrangeably blocked condition; configuring the communications matrix to form a parallel connection between said input gate and said output gate, said parallel connection being parallel to said immediate connection configuration and through an element of said center stage other than said dedicated element; and removing said immediate connection configuration through said dedicated element after said parallel connection configuring step.
 6. A system for establishing a connection configuration in a communications matrix with a rearrangeably blocked condition, said communications matrix having at least three connection stages, said connection stages including an input stage, at least one center stage, and an output stage, said input stage, at least one center stage, and an output stage connected to a center stage, said input stage comprising at least one input switch, each input switch containing a plurality of input gates, said output stage comprising at least one output switch, each output switch containing a plurality of output gates, comprising the steps of:circuitry for immediately connecting an input gate of the communications matrix to an output gate of the communications matrix through a dedicated element of a center stage to form an immediate connection configuration said dedicated element associated for connecting said input gate to said output gate when the matrix configuration experiences a rearrangeably blocked condition; circuitry for configuring the communications matrix to form a parallel connection between said input gate and said output gate, said parallel connection being parallel to said immediate connection configuration and through an element of said center stage other than said dedicated element; and circuitry for removing said immediate connection configuration through said dedicated element after said parallel connection configuring step. 